﻿@model PlmDailysupervisionViewModel
@{
    Layout = null;
    ViewBag.Title = "监理单位日报查看";
    var remark = "";
}
<style>
    .table_biao {
        width: 100%;
        text-align: center;
    }

        .table_biao tr {
            height: 30px;
        }

    .table_rizhi {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
        border-left: 1px solid #C1DAD7;
    }

        .table_rizhi th {
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            border-top: 1px solid #C1DAD7;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 1px 4px 1px 4px;
            line-height: 17px;
        }

        .table_rizhi td {
            border-right: 1px solid #C1DAD7;
            border-bottom: 1px solid #C1DAD7;
            background: #fff;
            text-align: left;
            padding: 1px 4px 1px 4px;
            line-height: 17px;
        }
</style>
<form method="post" action="demo/common/ajaxDone.html" class="pageForm required-validate" onsubmit="return validateCallback(this)">
    <div class="pageContent">
        <div class="pageFormContent sortDrag" layouth="60">
            <table class="table_biao">
                <tr>
                    <th colspan="3" style="font-weight: 600; font-size: 20px;">
                        @Model.ReportTitle
                    </th>
                </tr>
                <tr>
                    <th>合同号：@(Model.ReportContractNum)   </th>
                    <th>单位：@(Model.ReportUnitName)</th>
                    <th>日期：@(Model.ReportDate)</th>
                </tr>
            </table>
            <table class="table_rizhi">
                <thead>
                    <tr>
                        <th style="width:50px;">序号</th>
                        <th colspan="4">工作内容</th>
                        @foreach (var item in Model.Report_Ds_DirectorSection.Split('$'))
                        {
                            <th>@item</th>
                        }
                        <th>备注</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td rowspan="3" style="width:50px; text-align: center;">1</td>
                        <td rowspan="3">人员进场情况</td>
                        <td rowspan="2" colspan="2">监理、检测工程师</td>
                        <td>自有人员</td>
                        @foreach (var item in Model.Report_Ds_OwnPersons.Split('$'))
                        {
                            <td>@item</td>
                        }
                        <td rowspan="9">
                            @{
                                foreach (var item in Model.Report_Ds_Remark.Split('$'))
                                {
                                    remark += item + "<br/>";
                                }
                            }
                           @Html.Raw(remark)
                        </td>
                    </tr>
                    <tr>
                        <td>外聘人员</td>
                        @foreach (var item in Model.Report_Ds_ExternalPersons.Split('$'))
                        {
                            <td>@item</td>
                        }
                       
                    </tr>
                    <tr>
                        <td colspan="3">监理员、实验员</td>
                        @foreach (var item in Model.Report_Ds_SupervisorPersons.Split('$'))
                        {
                            <td>@item</td>
                        }
                    </tr>


                    <tr>
                        <td rowspan="2" style="width:50px;text-align: center;">2</td>
                        <td colspan="4">中心试验室建设情况</td>
                        @foreach (var item in Model.Report_Ds_LabConstruction.Split('$'))
                        {
                            <td>@item</td>
                        }
                    </tr>
                    <tr>
                        <td colspan="4">监理每日工作内容</td>
                        @foreach (var item in Model.Report_Ds_JobContent.Split('$'))
                        {
                            <td>@item</td>
                        }
                    </tr>

                    <tr>
                        <td rowspan="3" style="width:50px;text-align: center;">3</td>
                        <td rowspan="3">技术资料准备</td>
                        <td colspan="3">监理（检测）计划、细则（安全环保）编制</td>
                        @foreach (var item in Model.Report_Ds_PlanRule.Split('$'))
                        {
                            <td>@item</td>
                        }
                     
                    </tr>

                    <tr>
                        <td colspan="3">监理施工表格</td>
                        @foreach (var item in Model.Report_Ds_ConstructionTable.Split('$'))
                        {
                            <td>@item</td>
                        }
                      
                    </tr>

                    <tr>
                        <td colspan="3">导线点、水准点及地面线复测</td>
                        @foreach (var item in Model.Report_Ds_WireRetest.Split('$'))
                        {
                            <td>@item</td>
                        }
                      
                    </tr>

                    <tr>
                        <td style="width:50px;text-align: center;">4</td>
                        <td colspan="4">测量、试验设备进场情况</td>
                        @foreach (var item in Model.Report_Ds_EquipmentApproach.Split('$'))
                        {
                            <td>@item</td>
                        }
                       
                    </tr>
                </tbody>
            </table>
            <dl class="nowrap" style="display:none">
                <dt>附件：</dt>
                <dd>
                    <table>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件1》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件2》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                        <tr style="height: 20px;">
                            <td style="color: #808080;">《附件3》</td>
                            <td><a href="#" title="点击下载" style="color: blue;">下载</a></td>
                        </tr>
                    </table>
                </dd>
            </dl>
        </div>
    </div>
</form>
